package com.lx.custom;

import lombok.Data;

/**
 * 异常跳转到页面
 *
 * @author 段誉
 * @create 2019-03-19 16:32
 */
@Data
public class WebException extends RuntimeException {
  private Integer code;
  private String msg;
  public WebException(Integer code, String msg) {
    this.code = code;
    this.msg = msg;
  }
}
